# -*- coding:utf-8 -*-
# -------------------------------------------------------------------------------
# Description:  
# Reference:
# Author: 安智军
# Date:   2021/12/14
# -------------------------------------------------------------------------------

import os

# basepath = os.path.dirname(__file__)
basepath = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# project_dir = os.path.dirname(os.path.dirname(__file__))
# project_dir = os.path.dirname(os.path.abspath(__file__))

print('项目的根目录的路径为：',basepath) # D:\接口自动化v2.0\pytest_api_automation(pytest+yaml+allure+Dingding)
# print('项目的根目录的路径为：',project_dir) # D:\接口自动化v2.0\pytest_api_automation(pytest+yaml+allure+Dingding)